package com.csap.framework.oauth2.exception;

import com.csap.framework.oauth2.type.ExceptionType;

/**
 * @Author ycf
 * @Date 2021/8/19 6:23 下午
 * @Version 1.0
 */
public class InvalidTokenException extends ClientAuthenticationException {
    public InvalidTokenException(String msg, Throwable t) {
        super(msg, t);
    }

    public InvalidTokenException() {
        super(ExceptionType.invalid_token.getMessage());
    }

    @Override
    public ExceptionType exceptionType() {
        return ExceptionType.invalid_token;
    }
}
